<template>
    <h2>我是ABout组件的内容</h2>
</template>

<script>
export default {
    name:'About',
     mounted() {
      console.log('About组件挂载了',this)
      window.aboutRoute = this.$route
      window.aboutRouter = this.$router
    },
    beforeDestroy() {
        console.log('About组件被销毁了')
    }
}
</script>

<style>

</style>